FUNCTION ExportXML( KMName, ObjectName : wideString ; var data : wideString ) : WORDBOOL

Exports the object (ObjectName) found in Knowledge Module (KMName), and stores the result in data as a XML string. For more information on the syntax for objects see the XML Syntax section; please note that the export does not include XML for Cases, Decision Trees, Events or Procedures.

Delphi Sample

...
myObject . ExportXML( 'Expenses', 'Hotel', data ) ;
...